home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- public class BufferCapabilities implements Cloneable {
- private ImageCapabilities frontCaps;
- private ImageCapabilities backCaps;
- private FlipContents flipContents;
-
- public BufferCapabilities(ImageCapabilities var1, ImageCapabilities var2, FlipContents var3) {
- if (var1 != null && var2 != null) {
- this.frontCaps = var1;
- this.backCaps = var2;
- this.flipContents = var3;
- } else {
- throw new IllegalArgumentException("Image capabilities specified cannot be null");
- }
- }
-
- public ImageCapabilities getFrontBufferCapabilities() {
- return this.frontCaps;
- }
-
- public ImageCapabilities getBackBufferCapabilities() {
- return this.backCaps;
- }
-
- public boolean isPageFlipping() {
- return this.getFlipContents() != null;
- }
-
- public FlipContents getFlipContents() {
- return this.flipContents;
- }
-
- public boolean isFullScreenRequired() {
- return false;
- }
-
- public boolean isMultiBufferAvailable() {
- return false;
- }
-
- public Object clone() {
- try {
- return super.clone();
- } catch (CloneNotSupportedException var2) {
- throw new InternalError();
- }
- }
- }
-